import request from '@/utils/request';

export default {
    //登录
    login:(data) => request.post('/user/login',data),
    //获取个人信息
    getUserInfo:()=> request.get('/user/userInfo'),
    //根据用户id获取视图权限
    getUserViews:(user_id) => request.get('/user/new',{user_id})
}